﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 房号表
    /// </summary>
    /// 
    [Table("StarePtea")]
    public class StarePtea
    {
        [Key]

         public int StarePteaId { get; set; }

      


        /// <summary>
        /// 房号名称
        /// </summary>
        public string StarePteaName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>

         public string StarePteaType { get; set; }

        
        /// <summary>
        /// 创建时间
        /// </summary>
         public DateTime StarePteaDate { get; set; }=DateTime.Now;

        /// <summary>
        ///结束时间
        /// </summary>
         public DateTime? EndStarePtea {  get; set; }


        /// <summary>
        /// 1::已删除
        /// 0::未删除
        /// </summary>
        public int Idelete { get; set; } = 1;
        /// <summary>
        /// 状态
        /// true:上架
        /// false:下架
        /// </summary>
        public bool IsStarePtea { get; set; } = true;








    }
}
